<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script type='text/javaScript' src='javascript/admin/component/roleManager.js' ></script>
</head>

<body >
	
	<div id="simpleQueryForm"  style="display:table;padding-top:20" >
	 	<input id="simpleQueryConditionTxt" type="text" size="50"/>
		<a href="javascript:void(0)" class="easyui-linkbutton" plain="true" icon="icon-search" id='simpleQueryBt'></a>
		<a href="javascript:void(0)" id="showAdvancedQueryFormLink" >高级查询</a>
	 </div>
	 
	 <div id="advancedQueryForm" style="display:none;padding-top:20">
	 	<label style="padding-right:30px">
		 	<span>角色代码:</span>
			<input id="roleCodeTxt" type="text" size="30"/>
		</label>
		<label style="padding-right:30px">
		 	<span>包含权限(代码):</span>
			<input id="privilegeTxt" type="text" size="30"/>
		</label>
		<label style="padding-right:30px">
		 	<span>描述:</span>
			<input id="roleDescriptionTxt" type="text" size="30"/>
		</label>
		<br/><br/>
		<a href="javascript:void(0)" class="easyui-linkbutton" icon="icon-search" id="advanceQueryBt">查询</a>
		<a href="javascript:void(0)" style="font-size:12px" id="hideAdvancedQueryFormLink">隐藏</a>
	 </div>
	 
	 <br/>
	
	 <div style="padding:2px">
	   <table id="roleTable" title="角色列表">  
	        <thead>  
	            <tr>  
	                <th field="id" width="80" sortable="true">ID</th>  
	                <th field="code" width="200" sortable="true">代码</th>  
					<th field="privileges" width="250" sortable="true" >包含权限</th>
	                <th field="description" width="250" sortable="true" >描述</th>  
	           </tr>  
	       </thead>  
	   </table>
	  </div>
	  
	  <div id="roleDetailDiv" title="新增角色" style="display:table;">
			<form id="roleForm" method="post" style="padding:5px">
		  		<label style="width:100;font-weight:bolder;" >角色代码:</label><br>
		  		<input type="text" id="roleCode" name="code" size="50" class="easyui-validatebox" required="true"/><br/><br/>
				<label style="width:100;font-weight:bolder;" >描述:</label><br>
				<input type="text" id="description" name="description" size="50" />
		  	</form>
			
			<table id="privilegeTable" title="选择权限" style="height:200">  
		        <thead>  
		            <tr>  
		                <th field="id" width="80" sortable="true">ID</th>  
		                <th field="code" width="200" sortable="true">代码</th>  
		                <th field="description" width="250" sortable="true" >描述</th>  
		           </tr>  
		       </thead>
		   </table>
	  </div>
	
</body>
</html>